package com.hy.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.hy.entity.pojo.HyDepartment;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ContentRowHeight(20)
@HeadRowHeight(40)
@ColumnWidth(20)
@Builder
@AllArgsConstructor
@NoArgsConstructor
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 12)
public class HyDepartmentVO extends HyDepartment {
    @ExcelProperty(value = "所属单位",index = 4)
    private String unit;
    @ExcelProperty(value = "负责人",index = 3)
    private String managerName;
}
